70 PRINT : PRINT : PRINT "HIT ANY KEY TO CONTINUE": GET A9$: PRINT A9$: HOME : GOTO 2000
80 PRINT " STOCK PORTFOLIO VALUATION ": CLEAR : PRINT : PRINT : PRINT : INPUT "HOW MANY STOCKS IN THE PORTFOLIO? ";N: DIM A(N),B(N),C(N),D(N),E(N): HOME
90 FOR I = 1 TO N
100 PRINT "FOR STOCK ";I;" ";
110 INPUT "ENTER NUMBER OF SHARES ";A(I)
120 INPUT " ENTER ORGINAL PRICE ";B(I)
130 INPUT " ENTER CURRENT PRICE ";C(I)
140 INPUT " ENTER DIVIDEND ";D(I): HOME
150 E(I) = (C(I) -B(I))/B(I) *100:S = S +A(I) *B(I):S1 = S1 +A(I) *C(I):TY = TY +A(I) *D(I)
160 NEXT I
170 PC = (S1 -S)/S *100:YD = TY/S1 *100
180 FOR I = 1 TO N
190 PRINT "STOCK NUMBER ";I;" % CHANGE = ";E(I)
200 NEXT I
210 PRINT "HIT ANY KEY TO CONTINUE": GET A9$: PRINT A9$: HOME : PRINT " VALUATION OF TOTAL PORTFOLIO": PRINT : PRINT : PRINT : PRINT "ORGNIAL VALUE = $";S
220 PRINT "CURRENT VALUE = $";S1: PRINT "% CHANGE IN VALUE = ";PC;"%": PRINT "TOTAL YEARLY DIVIDEND = $";TY: PRINT "YEARLY DIVIDEND YIELD = $";YD
230 PRINT : PRINT : PRINT
240 PRINT "HIT ANY KEY TO CONTINUE": GET A9$: PRINT A9$: HOME : CLEAR : GOTO 2000
500 HOME : PRINT "PUT AND CALL OPTION VALUES": PRINT : PRINT : PRINT : PRINT "KEY A '1' FOR A PUT OR A '0' FOR A CALL": GET Z: PRINT Z: HOME
510 INPUT "ENTER STRIKING PRICE FOR OPTION ";TR: INPUT "ENTER PRICE OF UNDERLYING STOCK ";TK: INPUT "ENTER DAYS TO EXPIRATION ";DY
520 INPUT "ENTER VARIANCE ('-1' IF UNKNOWN) ";V: INPUT "ENTER INTEREST RATE (%) ";R1:R = R1/100: IF V = -1 THEN GOSUB 720